package com.alibaba.org.mapper;

import com.alibaba.org.domain.Employee;
import com.alibaba.basic.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Ashe
 * @since 2022-07-02
 */
public interface EmployeeMapper extends BaseMapper<Employee> {

    Employee findByUsername(String name);

    Employee findByShopID(Long shopId);

    List<Long> findRoleIdByEmpId(Long id);

    Employee loadByLogininfoId(Long id);
}
